package com.silence.springboot.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 学生返校信息表 实体类。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@Data
@Accessors(chain = true)
@Schema(name = "学生返校信息表")
@Table(value = "return_school_info")
@EqualsAndHashCode(callSuper = false)
public class ReturnSchoolInfoEntity extends BaseEntity {

    /**
     * 姓名
     */
    @Schema(description = "姓名")
    @Column(value = "name")
    private String name;

    /**
     * 性别（1：男 2：女）
     */
    @Schema(description = "性别（1：男 2：女）")
    @Column(value = "sex")
    private String sex;

    /**
     * 学号
     */
    @Schema(description = "学号")
    @Column(value = "student_number")
    private String studentNumber;

    /**
     * 年龄
     */
    @Schema(description = "年龄")
    @Column(value = "age")
    private String age;

    /**
     * 学院
     */
    @Schema(description = "学院")
    @Column(value = "college")
    private String college;

    /**
     * 专业
     */
    @Schema(description = "专业")
    @Column(value = "major")
    private String major;

    /**
     * 班级
     */
    @Schema(description = "班级")
    @Column(value = "grade")
    private String grade;

    /**
     * 手机号
     */
    @Schema(description = "手机号")
    @Column(value = "phone")
    private String phone;

    /**
     * 返校日期
     */
    @Schema(description = "返校日期")
    @Column(value = "return_date")
    private LocalDateTime returnDate;

}
